/*
 * This is class extends application class so whatever stored in this class will be accessible throughout the application
 * here we store db name and menu no so we can replace selected and unselected menu image. 
 * Also we check login if login is false then you will be not able to click any menu.
 */
		
package com.fipl.taksar;

import android.app.Application;



public class GlobalData extends Application {
	
	// Java Bean  encargado de guardar valores básicos de "sesión" de usuario
	// como base a cual conectarse, registrationID para C2DM
	//
	private int menuNo = 0;
	private String dbName;
	private boolean loginFlag = false;
	private String registrationID = "";
	public static String server = "";
	private String clientName;
	/**
	 * @param menuNo the menuNo to set
	 */
	public void setMenuNo(int menuNo) {
		this.menuNo = menuNo;
	}

	/**
	 * @return the menuNo
	 */
	public int getMenuNo() {
		return menuNo;
	}

	/**
	 * @param dbName the dbName to set
	 */
	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

	/**
	 * @return the dbName
	 */
	public String getDbName() {
		return dbName;
	}

	/**
	 * @param loginFlag the loginFlag to set
	 */
	public void setLoginFlag(boolean loginFlag) {
		this.loginFlag = loginFlag;
	}

	/**
	 * @return the loginFlag
	 */
	public boolean isLoginFlag() {
		return loginFlag;
	}

	/**
	 * @param registrationID the registrationID to set
	 */
	public void setRegistrationID(String registrationID) {
		this.registrationID = registrationID;
	}

	/**
	 * @return the registrationID
	 */
	public String getRegistrationID() {
		return registrationID;
	}

	public String getClientName() {
		return clientName;
	}

	public void setClientName(String clientName) {
		this.clientName = clientName;
	}


	
	
}

